package com.hxzy.module.admin.api.account.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @Author wy
 * @Description TODO
 * @Date 2024/2/3 14:28
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(value = "管理员账户输出模型")
public class AdminAccountListResp {

    @ApiModelProperty("账户Id")
    private String accountId;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("角色名称")
    private String roleName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("是否超级账户")
    private Boolean root;
}
